package org.ssm.service.impl;

import org.springframework.stereotype.Service;
import org.ssm.dao.UsersMapper;
import org.smm.pojo.Users;
import org.ssm.service.UsersService;

import javax.annotation.Resource;
import java.util.List;
@Service("usersService")
public class UsersServiceImpl implements UsersService {
    @Resource
    UsersMapper usersMapper;

    @Override
    public UsersMapper update(Users users) {
        return usersMapper.update(users);
    }

    @Override
    public int getRecordCount(Users users) {
        return usersMapper.getRecordCount(users);
    }

    @Override
    public List<Users> getUserListByPage(Users users) {
        return usersMapper.getUserListByPage(users);
    }
}
